package com.java.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
* @ClassName: ExTopicOption
* @Description: ex_topic_option表：题目选项
* @author admin
* @date 2024-03-15
 */
public class ExTopicOption {
	/**
	 * 主键
	 */
	private String optionId;
	/**
	 * 所属题目
	 */
	private String optionTopicId;
	/**
	 * 选项内容
	 */
	private String optionText;
	/**
	 * 1答案
	 */
	private Integer optionAnswer;
	/**
	 * 排序
	 */
	private Integer optionSort;
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date optionTime;
	/**
	 * 1删除
	 */
	private Integer optionDelete;

	public ExTopicOption() {
		super();
	}
	
	public String getOptionId() {
		return optionId;
	}
	public ExTopicOption setOptionId(String optionId) {
		this.optionId = optionId;
		return this;
	}
	
	public String getOptionTopicId() {
		return optionTopicId;
	}
	public ExTopicOption setOptionTopicId(String optionTopicId) {
		this.optionTopicId = optionTopicId;
		return this;
	}
	
	public String getOptionText() {
		return optionText;
	}
	public ExTopicOption setOptionText(String optionText) {
		this.optionText = optionText;
		return this;
	}
	
	public Integer getOptionAnswer() {
		return optionAnswer;
	}
	public ExTopicOption setOptionAnswer(Integer optionAnswer) {
		this.optionAnswer = optionAnswer;
		return this;
	}
	
	public Integer getOptionSort() {
		return optionSort;
	}
	public ExTopicOption setOptionSort(Integer optionSort) {
		this.optionSort = optionSort;
		return this;
	}
	
	public Date getOptionTime() {
		return optionTime;
	}
	public ExTopicOption setOptionTime(Date optionTime) {
		this.optionTime = optionTime;
		return this;
	}
	
	public Integer getOptionDelete() {
		return optionDelete;
	}
	public ExTopicOption setOptionDelete(Integer optionDelete) {
		this.optionDelete = optionDelete;
		return this;
	}
	
}